package com.i.piccommon.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author lewis
 * @type class
 * @description
 * @since 2024/10/25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Category extends Page{
    @TableId(type = IdType.AUTO)
    private Integer cid;
    private String coverImage;
    private String classification;
    @TableField(exist = false)
    private List<PhotoGraph> photoGraphs;
    private Integer deleted;
}
